/*
 * Log.java
 * Copyright (c) 2014, 2019, Kiri. 
 * All rights reserved.
 */
package com.onesalt.domain.system;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;

/**
 * 日志
 *
 * @author kiri
 * @date 2015年5月17日
 * @version 1.0
 */
@Entity(name = "t_sys_log")
public class SysLog implements Serializable {

	private static final long serialVersionUID = 7808989285879753747L;

	@Id
	@GeneratedValue
	private long logId;
	
	private Date time;
	
	private String platform;
	
	@Lob
	private String message;

	public long getLogId() {
		return logId;
	}

	public void setLogId(long logId) {
		this.logId = logId;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}
}
